package defpackage; import cn.wps.moffice.writer.io.writer.docx.DocxWriter; import java.io.IOException; /* renamed from: ofn reason: default package */ public final class ofn { public static void a(String str, ogk ogk, mgh mgh, odf odf, int i) throws IOException { ew.assertNotNull("rootName should not be null.", str); ew.assertNotNull("w should not be null.", odf); ew.assertNotNull("subDoc should not be null.", mgh); odf.i(str, "xmlns:w", "http://schemas.openxmlformats.org/wordprocessingml/2006/main", "xmlns:wp", "http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawing", "xmlns:r", "http://schemas.openxmlformats.org/officeDocument/2006/relationships", "xmlns:v", "urn:schemas-microsoft-com:vml", "xmlns:w10", "urn:schemas-microsoft-com:office:word", "xmlns:o", "urn:schemas-microsoft-com:office:office", "xmlns:wp14", "http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing", "xmlns:w14", "http://schemas.microsoft.com/office/word/2010/wordml", "xmlns:mc", "http://schemas.openxmlformats.org/markup-compatibility/2006", "xmlns:m", "http://schemas.openxmlformats.org/officeDocument/2006/math", "xmlns:wps", "http://schemas.microsoft.com/office/word/2010/wordprocessingShape", "xmlns:wpg", "http://schemas.microsoft.com/office/word/2010/wordprocessingGroup", "xmlns:wpi", "http://schemas.microsoft.com/office/word/2010/wordprocessingInk", "xmlns:wpc", "http://schemas.microsoft.com/office/word/2010/wordprocessingCanvas", "mc:Ignorable", "w14 wp14"); DocxWriter.a(mgh, ogk.oZh, ogk.oZi, 0, odf, i); odf.endElement(str); } }